import { createRouter, createWebHistory } from "vue-router";
 
const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('../views/index.vue')
  },
  //{
    //配置404页面
    //path: '/:catchAll(.*)',
    //name: '404',
    //component: () => import(''),
  //}
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router;